package com.mdd.front.validate;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class NewUserUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "昵称参数缺失")
    private String nickname;

    @NotNull(message = "头像参数缺失")
    private String avatar;

}
